How to Create Threads for Linux